<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:fragment="header(links)">
    <meta charset="utf-8"/>
    <meta name="renderer" content="webkit"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="_csrf" th:content="${_csrf.token}"/>
    <meta name="_csrf_header" th:content="${_csrf.headerName}"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
    <title th:text="${webConfig.title}"></title>
    <!--STYLESHEET-->
    <!--=================================================-->
    <!--Open Sans Font [ OPTIONAL ] -->
    <link href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&amp;subset=latin" rel="stylesheet"/>
    <!--Layui Stylesheet-->
    <link th:href="@{/static/plug-in/layui/css/layui.css}" rel="stylesheet" media="all"/>
    <link th:href="@{/static/resources/common/css/index.css}" rel="stylesheet" media="all"/>
    <th:block  th:replace="${links}"/>
</head>
<body th:fragment="body(content,scripts)">
<div id="content-container">
    <div id="page-content">
        <!--/*@thymesVar id="url" type="com.sys.controller.BaseController"*/-->
        <form class="layui-form layui-form-pane myui-form-search" th:action="${url}" method="post">
            <div class="layui-form-item" >
                <th:block th:replace="${content}"/>
            </div>
            <!--/*@thymesVar id="page" type="com"*/-->
            <input type="hidden" name="current" th:value="${page.current}"/>
            <input type="hidden" name="totalPages" th:value="${page.totalPages}"/>
            <input type="hidden" name="rows" th:value="${page.rows}"/>
            <input type="hidden" name="totalElements" th:value="${page.totalElements}"/>
        </form>
        <div class="layui-btn-group">
            <button class="layui-btn layui-btn-sm layui-btn-normal layui-add" type="button"><i
                    class="layui-icon">&#xe654;</i>新增
            </button>
            <button class="layui-btn layui-btn-sm layui-btn-normal layui-update" type="button"><i
                    class="layui-icon">&#xe642;</i>编辑
            </button>
            <button class="layui-btn layui-btn-sm layui-btn-normal layui-open" type="button"><i
                    class="layui-icon">&#xe63c;</i>查看
            </button>
            <button class="layui-btn layui-btn-sm layui-btn-normal layui-del" type="button"><i
                    class="layui-icon">&#xe640;</i>删除
            </button>
        </div>
        <div class="layui-form">
            <table class="layui-table">
                <thead>
                <tr>
                    <th style="width: 40px;"><input name="" lay-skin="primary" lay-filter="allChoose"
                                                    class="allChoose" type="checkbox"/></th>
                    <!--/*@thymesVar id="HeaderList" type="com.sys.controller.BaseController"*/-->
                    <th th:each="p:${HeaderList}" th:text="${p}"></th>
                </tr>
                </thead>
                <!--/*@thymesVar id="listEntity" type="com.sys.controller.BaseController"*/-->
                <tr th:each="list:${listEntity}">
                    <td style="width: 40px;"><input name="checked" lay-skin="primary" lay-filter="choose"
                                                    class="choose" type="checkbox"/></td>
                    <td th:each="t:${list}" th:text="${t}"></td>
                </tr>
            </table>
        </div>
        <div id="layPage" class="layui-custom-page">
        </div>
    </div>
</div>
<!--Layui -->
<script th:src="@{/static/plug-in/layui/layui.js}" media="all"></script>
<!--[if lt IE 9]>
<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<script type="text/javascript" th:src="@{/static/resources/common/js/index.js}"></script>
<th:block th:replace="${scripts}"/>
</body>
</html>